@model LOMBARDISPICK.Model.NFLTeam
@using LOMBARDISPICK.Web.Helpers;

@{
	ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<fieldset>
	<legend>NFL Team</legend>

	<span class="display-label">@Html.LabelFor(model => model.TeamName)</span>
	<div class="display-field">@Model.TeamName</div>
	<br />

	<span class="display-label">@Html.LabelFor(model => model.TeamNameAbbreviations)</span>
	<div class="display-field">@Model.TeamNameAbbreviations</div>
	<br />

</fieldset>
@using (Ajax.BeginForm("Delete", new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "dialog", OnFailure = "PostFailure", OnSuccess = "PostSuccess", OnComplete = "PostOnComplete" })) {
	<p>
		<input type="submit" value="Delete" /> |
		@Html.ActionLink("Back to List", "Index")
	</p>
}